package com.slmxz.tms.document.model.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Getter;
import lombok.Setter;
import com.baomidou.mybatisplus.annotation.TableName;
import com.slmxz.tms.common.base.BaseEntity;

import java.time.LocalDateTime;

/**
 * 司机信息实体对象
 * @author sunyao
 * @Date 2024-11-15
 */
@Getter
@Setter
@TableName("tbl_driver")
public class Driver extends BaseEntity {

    @TableId(value = "id")
    private Long id;

    /**
     * 司机名称
     */
    private String driverName;
    /**
     * 司机联系电话
     */
    private String driverPhone;
    /**
     * 司机驾驶证号码
     */
    private String driverLicense;
    /**
     * 初次领证日期
     */
    private LocalDateTime takeLicenseDate;
    /**
     * 驾驶证有效期结束日期
     */
    private LocalDateTime exipredDate;
    /**
     * 驾驶证类型=C1,C2,B1,B2
     */
    private Integer licenseType;
    /**
     * 司机类型: 1=自有司机,2=外协司机
     */
    private Integer driverType;
    /**
     * 备注
     */
    private String remark;
    /**
     * 逻辑删除标识(0-未删除 1-已删除)
     */
    private Integer isDeleted;
}
